package com.zzx.boot.servlet.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zzx.boot.entity.table.Image;
import com.zzx.boot.mapper.ImageMapper;
import com.zzx.boot.servlet.ImageService;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

/**
 * @author tan
 * @version 1.0
 * @date 2023/7/8 20:50
 */
@Service
@RequiredArgsConstructor
public class ImageServiceImpl extends ServiceImpl<ImageMapper, Image> implements ImageService {


    @Override
    public Image getImageById(Long id) {
        return baseMapper.selectById(id);
    }
}
